package com.shop.front.service;

import com.shop.front.validate.paper.SubmitValidate;
import com.shop.front.vo.paper.PaperDetailedVo;
import com.shop.front.vo.paper.PaperListedVo;
import com.shop.front.vo.paper.PaperLogDetailedVo;
import com.shop.front.vo.paper.PaperLogListedVo;

import java.util.List;

/**
 * 考试接口类
 */
public interface IPaperService {

    // 待考试列表，试卷详情，考试记录，交卷接口

    /**
     * 待考试列表
     * @return 待考试列表
     */
    List<PaperListedVo> unTaken();

    /**
     * 试卷详情
     */
    PaperDetailedVo detail(Integer paperId);

    PaperDetailedVo detail(String code);

    PaperDetailedVo drawQuestions(Integer paperId);

    /**
     * 交卷
     */
    void submit(SubmitValidate submitValidate);

    /**
     * 考试记录
     */
    List<PaperLogListedVo> record();

    PaperLogDetailedVo recordDetail(Integer logId);
}
